/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 *
 * This file is part of retabel.
 *
 * Copyright (c) 2011 by individual contributors as indicated by the
 * @author tags. See the copyright.txt file in the distribution
 * for a full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

body {
    color: #333;
    background-color: white;
    margin: 20px;
    margin-top: 120px;
    padding: 0px;
    font: 12px verdana, arial, helvetica, sans-serif;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.logo {
    background-image: url('/retabel-gui/static/logo.png');
    background-repeat: no-repeat;
    background-position: 20px bottom;
    height: 60px;
}

.logotext {
    font-size: 20px;
    font-weight: bold;
    margin-left: 340px;
    vertical-align: bottom;
}

#menubar {
    height: 20px;
    margin-left: 20px;
    margin-right: 20px;
    background-image: url('/retabel-gui/static/barbg.png');
}

/* All the content boxes belong to the content class. */
.content {
    position: relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
    width: auto;
    min-width: 120px;
    margin: 0 210px 20px 190px;
    padding: 10px;
    z-index: 3; /* This allows the content to overlap the right menu in narrow windows in good browsers. */
}

#navAlpha {
    position: absolute;
    top: 120px;
    left: 20px;
    /*border: 1px dashed black;*/
    /*background-color: #eee;*/
    /*padding: 10px;*/
    z-index: 2;

    /* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity.
Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it.
IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style
declaration. The incorrect IE5/Win value is above, while the correct value is
below. See http://glish.com/css/hacks.asp for details. */
    voice-family: "\"}\"";
    voice-family: inherit;
    width: 128px;
}

/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct
length values to user agents that exhibit the parsing error exploited above yet get
the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
body>#navAlpha {
    width: 180px;
}

#navBeta {
    position: absolute;
    width: 190px;
    top: 120px;
    right: 20px;
    border: 1px dashed black;
    background-color: #eee;
    padding: 10px;
    z-index: 1;
    /* Again, the ugly brilliant hack. */
    voice-family: "\"}\"";
    voice-family: inherit;
    width: 168px;
}

/* Again, "be nice to Opera 5". */
body>#navBeta {
    width: 168px;
}

.gallery li {
    display: inline;
    list-style: none;
    width: 150px;
    min-height: 175px;
    float: left;
    margin: 0 10px 10px 0;
    text-align: center;
}

.imglink {
    border: 0;
}

li a {
    text-decoration:none;
    font-size: 12px;
}

.menu {
    background-color: #BED6F8;
    /*color: #FFFFFF;*/
    font-family: Helvetica,Verdana,sans-serif;
    font-size: 12px;
    line-height: 16px;
    margin: 4px 8px 2px 2px;
    padding: 4px;
}

.menu a {
    font-size: 12px;
    text-decoration:none;
}


